// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    public static void main(String[] args) {
        int arr[]=new int[] {1,12,1,2};
        System.out.println(arr);
        //静态初始化
        int a[][]=new int[][]{{1,2},{3,4},{5,6}};
        //动态初始化,需要使用两对分隔符的方括号[][]添加元素
        int c[][]=new int[3][2];
        //... 添加元素 书本或者网站有
        //控制台run code ->数组长度为3
        System.out.println(a.length);
        //语法糖写法
        int b[][]={{1,2},{3,4},{5,6}};



        }
    }
